package com.rbw.controller.req;

import com.rb.util.NumUtil;

/**
 * 注册参数
 * 
 * @author cuihaidong
 *
 */
public class RegParam {

	private String username;
	private String type;// 1:phone,2:email
	private String vcode;// 验证码
	private String pwd;// 密码
	private String submitPwd;// 确认密码

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getType() {
		return NumUtil.toInt(type, 1);
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getVcode() {
		return vcode;
	}

	public void setVcode(String vcode) {
		this.vcode = vcode;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getSubmitPwd() {
		return submitPwd;
	}

	public void setSubmitPwd(String submitPwd) {
		this.submitPwd = submitPwd;
	}

}
